<div class="full_w">
    <div class="h_title"><?php echo Yii::t('AdmincpModule.admincp', 'Languages'); ?></div>
    <h2>Lorem ipsum dolor sit ame</h2>
    <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diamvolupt</p>
    <div class="entry">
        <div class="sep"></div>
    </div>
    <table>
        <thead>
            <tr>
            	<th scope="col" class="chb"><input type="checkbox" onclick="selectAll(this);"></th>
                <th scope="col"><?php  echo Yii::t('AdmincpModule.admincp', 'Name');?></th>
                <th scope="col"><?php  echo Yii::t('AdmincpModule.admincp', 'Code');?></th>
                <th scope="col"><?php  echo Yii::t('AdmincpModule.admincp', 'Description');?></th>
            </tr>
        </thead>
            
        <tbody>
        <?php if(!empty($arrLanguages)):?>
			<?php foreach($arrLanguages as $i=>$R):?>
            <tr>
                <td class="align-center"><input type="checkbox" name="id[]" value="<?php echo $R['language_id']; ?>"></td>
                <td>
					<?php echo $R['language_name']; ?>
                    <p style="margin:0; padding: 2px 0 0;">
                        <a href="<?php echo LINK_ADMINCP_LANGUAGES.'/form/?id='.$R['language_id']; ?>"  title="Edit">Edit</a> | 
                        <a href="<?php echo LINK_ADMINCP_LANGUAGES.'/delete/?id='.$R['language_id']; ?>" title="Delete">Delete</a> 
                    </p>
                </td>
                <td><?php echo $R['language_code']; ?></td>
                <td><?php echo $R['language_description']; ?></td>
            </tr>
            <?php endforeach; ?>
		<?php else: ?>
            <tr>
                <td colspan="7">No data found!</td>
            </tr>
        <?php endif; ?>
        </tbody>
    </table>
    <div class="entry">
        <?php $this->widget('Pagination', array(
			'pages' => $objPages,
		)) ?>
        <div class="sep"></div>		
        <a class="button add" href="<?php echo LINK_ADMINCP_LANGUAGES.'/form'; ?>"><?php echo Yii::t('AdmincpModule.admincp', 'Add new language'); ?></a>
    </div>
</div>